package com.smart.community.user.constant;

/**
 * 消息常量
 * 
 * @author Wu.Liang
 */
public class MessageConstants {
    // 操作结果
    public static final String SUCCESS = "操作成功";
    public static final String FAILED = "操作失败";
    public static final String QUERY_SUCCESS = "查询成功";
    public static final String CREATE_SUCCESS = "创建成功";
    public static final String UPDATE_SUCCESS = "更新成功";
    public static final String DELETE_SUCCESS = "删除成功";
    
    // 认证相关
    public static final String LOGIN_SUCCESS = "登录成功";
    public static final String LOGIN_FAILED = "登录失败";
    public static final String LOGOUT_SUCCESS = "登出成功";
    public static final String TOKEN_REFRESH_SUCCESS = "Token刷新成功";
    public static final String CAPTCHA_ERROR = "验证码错误";
    public static final String PASSWORD_RESET_SUCCESS = "密码重置成功";
    public static final String REGISTER_SUCCESS = "注册成功";
    public static final String REGISTER_FAILED = "注册失败";
    public static final String PASSWORD_CHANGE_SUCCESS = "密码修改成功";
    public static final String PASSWORD_CHANGE_FAILED = "密码修改失败";
    
    // 关联相关
    public static final String ASSOCIATE_SUCCESS = "关联成功";
    public static final String DISASSOCIATE_SUCCESS = "解除关联成功";
    public static final String BATCH_ASSOCIATE_SUCCESS = "批量关联成功";
    
    // 分配相关
    public static final String ASSIGN_SUCCESS = "分配成功";
    
    // 审核相关
    public static final String APPROVE_SUCCESS = "审核成功";
    
    // 用户相关
    public static final String USER_NOT_FOUND = "用户不存在";
    public static final String USER_ALREADY_EXISTS = "用户已存在";
    public static final String USERNAME_ALREADY_EXISTS = "用户名已存在";
    public static final String PHONE_ALREADY_EXISTS = "手机号已存在";
    public static final String EMAIL_ALREADY_EXISTS = "邮箱已存在";
    public static final String PASSWORD_ERROR = "密码错误";
    public static final String ACCOUNT_LOCKED = "账号已锁定";
    public static final String ACCOUNT_DISABLED = "账号已禁用";
    
    // 权限相关
    public static final String NO_PERMISSION = "无权限访问";
    public static final String PERMISSION_DENIED = "权限不足";
    
    // 参数相关
    public static final String PARAM_ERROR = "参数错误";
    public static final String PARAM_MISSING = "参数缺失";
    public static final String PARAM_INVALID = "参数无效";
    
    // 系统相关
    public static final String SYSTEM_ERROR = "系统错误";
    public static final String NETWORK_ERROR = "网络错误";
    public static final String SERVICE_UNAVAILABLE = "服务不可用";
    
    private MessageConstants() {
        throw new UnsupportedOperationException("工具类不能实例化");
    }
} 